package com.karry.yl.domain.services;

import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.karry.commons.base.SuperEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 外出记录
 */
@TableName("go_out")
public class GoOut extends SuperEntity {

    /**
     * 老人名称
     */
    private String elderlyName;
    /**
     * 老人身份证
     */
    private String elderlyIdNo;
    /**
     * 所属机构
     */
    private Long orgId;
    /**
     * 外出时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date goOutTime;
    /**
     *
     *回归时间
     *
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date regressionTime;
    /**
     * 陪同人
     */
    private String accompanyingPerson;
    /**
     * 陪同人身份证号
     */
    private String accompanyingPersonIdNo;
    /**
     * 陪同人联系电话
     */
    private String accompanyingPersonPhone;
    /**
     * 负责人
     */
    private String responsibilityPerson;
    /**
     * 负责人ID
     */
    private Long responsibilityPersonId;
    /**
     * 状态
     * 0-准备外出
     * 1-外出
     * 2-回归
     * 3-取消
     */
    private Integer status;

    /**
     * 说明
     */
    private  String state;


    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getElderlyName() {
        return elderlyName;
    }

    public void setElderlyName(String elderlyName) {
        this.elderlyName = elderlyName;
    }

    public String getElderlyIdNo() {
        return elderlyIdNo;
    }

    public void setElderlyIdNo(String elderlyIdNo) {
        this.elderlyIdNo = elderlyIdNo;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Date getGoOutTime() {
        return goOutTime;
    }

    public void setGoOutTime(Date goOutTime) {
        this.goOutTime = goOutTime;
    }

    public Date getRegressionTime() {
        return regressionTime;
    }

    public void setRegressionTime(Date regressionTime) {
        this.regressionTime = regressionTime;
    }

    public String getAccompanyingPerson() {
        return accompanyingPerson;
    }

    public void setAccompanyingPerson(String accompanyingPerson) {
        this.accompanyingPerson = accompanyingPerson;
    }

    public String getAccompanyingPersonIdNo() {
        return accompanyingPersonIdNo;
    }

    public void setAccompanyingPersonIdNo(String accompanyingPersonIdNo) {
        this.accompanyingPersonIdNo = accompanyingPersonIdNo;
    }

    public String getResponsibilityPerson() {
        return responsibilityPerson;
    }

    public void setResponsibilityPerson(String responsibilityPerson) {
        this.responsibilityPerson = responsibilityPerson;
    }

    public Long getResponsibilityPersonId() {
        return responsibilityPersonId;
    }

    public String getAccompanyingPersonPhone() {
        return accompanyingPersonPhone;
    }

    public void setAccompanyingPersonPhone(String accompanyingPersonPhone) {
        this.accompanyingPersonPhone = accompanyingPersonPhone;
    }

    public void setResponsibilityPersonId(Long responsibilityPersonId) {
        this.responsibilityPersonId = responsibilityPersonId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
